<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" th:src="@{/static/js/html5.js}"></script>
    <script type="text/javascript" th:src="@{/static/js/respond.min.js}"></script>
    <script type="text/javascript" th:src="@{/static/lib/PIE-2.0beta1/PIE_IE678.js}"></script>
    <![endif]-->
    <link th:href="@{/static/lib/layui/css/layui.css}" rel="stylesheet" type="text/css"/>
    <link th:href="@{/static/css/jx-admin.css}" rel="stylesheet" type="text/css"/>
    <link th:href="@{/static/lib/jx-fonts/iconfont.css}" rel="stylesheet" type="text/css"/>
    <title>管理后台</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
</head>
<body>

<!-- 顶部开始 -->
<div class="container">
    <div class="logo"><a href="javascript:void(0);">网关服务</a></div>
    <div class="left_open">
        <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
        <i title="展开左侧栏" class="iconfont">&#xe699;</i>
    </div>
    <ul class="layui-nav left fast-add" lay-filter="">
        <li class="layui-nav-item">
        </li>
    </ul>
    <ul class="layui-nav right" lay-filter="">
        <li class="layui-nav-item">
            <a href="javascript:;">admin</a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
                <dd><a onclick="lay_admin_show('个人信息','http://www.baidu.com')">个人信息</a></dd>
                [#--<dd><a onclick="lay_admin_show('切换帐号','http://www.baidu.com')">切换帐号</a></dd>--]
                <dd><a href="${base}/logout.html">退出</a></dd>
            </dl>
        </li>
    </ul>
</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
    <div id="side-nav">
        <ul id="nav">
            <li id="nav_first">
                <a href="javascript:;">
                    <i class="iconfont">&#xe660;</i>
                    <cite>Route 管理</cite>
                    <i class="iconfont nav_right">&#xe622;</i>
                </a>
                <ul class="sub-menu">
                    <li date-refresh="1">
                        <a th:_href="@{/gateway/route/page/list}" href="javascript:void(0)">
                            <i class="layui-icon layui-icon-right"></i>
                            <cite>Route 服务</cite>
                        </a>
                    </li>
                    <li date-refresh="1">
                        <a th:_href="@{/gateway/apilog/page/list}" href="javascript:void(0)">
                            <i class="layui-icon layui-icon-right"></i>
                            <cite>请求日志</cite>
                        </a>
                    </li>
                    <li date-refresh="1">
                        <a th:_href="@{/gateway/server/page/list}" href="javascript:void(0)">
                            <i class="layui-icon layui-icon-right"></i>
                            <cite>服务引用</cite>
                        </a>
                    </li>
                </ul>
            </li>
            <!--<li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe660;</i>
                    <cite>Api 管理</cite>
                    <i class="iconfont nav_right">&#xe622;</i>
                </a>
                <ul class="sub-menu">
                    <li date-refresh="1">
                        <a th:_href="@{/gateway/api/page/list}" href="javascript:void(0)">
                            <i class="layui-icon layui-icon-right"></i>
                            <cite>Api 列表</cite>
                        </a>
                    </li>
                    <li date-refresh="1">
                        <a th:_href="@{/gateway/page/list}" href="javascript:void(0)">
                            <i class="layui-icon layui-icon-right"></i>
                            <cite>Api 配置</cite>
                        </a>
                    </li>
                </ul>
            </li>-->
            <!--<li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe660;</i>
                    <cite>Task 管理</cite>
                    <i class="iconfont nav_right">&#xe622;</i>
                </a>
                <ul class="sub-menu">
                    <li date-refresh="1">
                        <a th:_href="@{/gateway/route/page/list}" href="javascript:void(0)">
                            <i class="layui-icon layui-icon-right"></i>
                            <cite>Task 调度</cite>
                        </a>
                    </li>
                    <li date-refresh="1">
                        <a th:_href="@{/gateway/page/list}" href="javascript:void(0)">
                            <i class="layui-icon layui-icon-right"></i>
                            <cite>Task 配置</cite>
                        </a>
                    </li>
                </ul>
            </li>-->
        </ul>
    </div>
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">
    <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
        <ul class="layui-tab-title">
            <li class="home layui-this"><i class="layui-icon">&#xe68e;</i>我的桌面</li>
        </ul>
        <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
            <dl>
                <dd data-type="this">关闭当前</dd>
                <dd data-type="other">关闭其它</dd>
                <dd data-type="all">关闭全部</dd>
            </dl>
        </div>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe th:src='@{/gateway/welcome}' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
            </div>
        </div>
        <div id="tab_show"></div>
    </div>
</div>
[#--
<div class="page-content-bg"></div>
--]
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
<script type="text/javascript" th:src="@{/static/lib/jquery/1.9.1/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/static/lib/layui/layui.all.js}"></script>
<script type="text/javascript" th:src="@{/static/js/jx-admin.js}"></script>
<script type="text/javascript" th:src="@{/static/js/md5.min.js}"></script>
<script type="text/javascript">
    $('#qiehuanId').on('click', function () {
        layer.open({
            type: 1,
            title: '角色切换',
            area: ['520px', 'auto'], // 宽高
            shadeClose: true, // 点击遮罩关闭
            content: $('#qiehuanContentId').html()
        });
    });
    $(window).load(function() {
        // 初始化信息,异步请求
        $("#nav_first").click();
    });
</script>
</body>
</html>